﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DrugStore.Models
{
    public class DiseaseCategoryModel
    {
    }

    public class DiseaseCategoryBussiness 
    {
        DrugStoreEntities entities;

        public IQueryable<DiseaseCategory> GetAllDieseaseCategory() 
        {
            entities = new DrugStoreEntities();
            return entities.DiseaseCategories.OrderBy(ca=>ca.DieaseName);
        }
    }
}